﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>xxxx项目信息管理平台</title>
    <link href="Css/default.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="themes/icon.css" />

    <script src="JScript/jquery-1.6.min.js" type="text/javascript"></script>

    <script type="text/javascript" src="JScript/jquery.easyui.min.js"></script>

    <script type="text/javascript" src='JScript/outlook.js'> </script>

    <script src="JScript/jquery.cookie.js" type="text/javascript"></script>

    <script type="text/javascript" language="javascript">

//         _menus = { "menus": [
//            { "menuid": "8", "icon": "icon-sys", "menuname": "人事管理",
//                "menus": [{ "menuid": "21", "menuname": "员工个人档案", "icon": "icon-nav", "url": "Personnel/EmployeeNavigation.htm " },
//                    { "menuid": "21", "menuname": "人员档案管理", "icon": "icon-nav", "url": "Personnel/EmployeeInfoList.htm" },
//                    { "menuid": "22", "menuname": "人员培训管理", "icon": "icon-nav", "url": "Personnel/EmployeeTraining.htm" },
//                    { "menuid": "23", "menuname": "在职教育管理", "icon": "icon-contract", "url": "Personnel/WorkEducation.htm" },
//                    { "menuid": "24", "menuname": "招聘甄选信息管理", "icon": "icon-contract", "url": "Personnel/Recruitment.htm" },
//                    { "menuid": "21", "menuname": "劳动关系信息管理", "icon": "icon-nav", "url": "Personnel/LaborRelation.htm" },
//                    { "menuid": "21", "menuname": "职级信息管理", "icon": "icon-nav", "url": "Personnel/Performance.htm" }
//                //						                         { "menuid": "21", "menuname": "员工薪酬数据管理", "icon": "icon-nav", "url": "Personnel/Salary.htm" }
//                ]
//            },
//            { "menuid": "1", "icon": "icon-sys", "menuname": "工程项目管理",
//                "menus": [
//                    { "menuid": "12", "menuname": "项目信息列表", "icon": "icon-add", "url": "Project/ProjectList.html" },
//                    { "menuid": "13", "menuname": "项目获奖信息", "icon": "icon-Award", "url": "Project/ProjectPrizeInfo.htm" },
//                    { "menuid": "14", "menuname": "合同信息管理", "icon": "icon-contract", "url": "Project/ContractsInfo.htm" },
//                    { "menuid": "15", "menuname": "项目执行管理", "icon": "icon-role", "url": "Project/ProjectExecuteInfo.htm" },
//                    { "menuid": "17", "menuname": "项目质量管理", "icon": "icon-set", "url": "Project/ProjectQualityManagerInfo.htm" },
//                    { "menuid": "18", "menuname": "项目人员管理", "icon": "icon-role", "url": "Project/ProjectEmployeeMappingInfo.htm" },
//                    { "menuid": "19", "menuname": "项目回款申请", "icon": "icon-money", "url": "Project/ProjectPayBackIncomeCash.htm" },
//                    { "menuid": "20", "menuname": "项目设计阶段", "icon": "icon-money", "url": "Project/ProjectPhaseList.htm" }
//                ]
//            },
//            { "menuid": "1", "icon": "icon-sys", "menuname": "集成项目管理",
//                "menus": [
//                    { "menuid": "12", "menuname": "集成项目信息列表", "icon": "icon-add", "url": "Project/IntegrationProject/ProjectList.html" },
//                    { "menuid": "13", "menuname": "集成项目获奖信息", "icon": "icon-Award", "url": "Project/IntegrationProject/ProjectPrizeInfo.htm" },
//                    { "menuid": "14", "menuname": "集成合同信息管理", "icon": "icon-contract", "url": "Project/IntegrationProject/ContractsInfo.htm" },
//                    { "menuid": "15", "menuname": "集成项目执行管理", "icon": "icon-role", "url": "Project/IntegrationProject/ProjectExecuteInfo.htm" },
//                //									{ "menuid": "17", "menuname": "集成项目质量管理", "icon": "icon-set", "url": "Project/IntegrationProject/ProjectQualityManagerInfo.htm" },
//                    {"menuid": "18", "menuname": "集成项目人员管理", "icon": "icon-role", "url": "Project/IntegrationProject/ProjectEmployeeMappingInfo.htm" },
//                    { "menuid": "19", "menuname": "集成项目回款申请", "icon": "icon-money", "url": "Project/IntegrationProject/ProjectPayBackIncomeCash.htm" },
//                    { "menuid": "20", "menuname": "集成项目支出", "icon": "icon-money", "url": "Project/IntegrationProject/ProjectPaymentBillInfo.htm" },
//                    { "menuid": "21", "menuname": "集成项目故障统计", "icon": "icon-money", "url": "Project/IntegrationProject/ProjectProblem.htm" },
//                    { "menuid": "22", "menuname": "集成项目设计阶段", "icon": "icon-money", "url": "Project/IntegrationProject/ProjectPhaseList.htm" }
//                ]
//            },
//            { "menuid": "1", "icon": "icon-sys", "menuname": "科研项目管理",
//                "menus": [
//                    { "menuid": "12", "menuname": "科研项目信息列表", "icon": "icon-add", "url": "Project/ScientificProject/ProjectList.html" },
//                    { "menuid": "14", "menuname": "科研项目获奖信息", "icon": "icon-Award", "url": "Project/ScientificProject/ProjectPrizeInfo.htm" },
//                    { "menuid": "13", "menuname": "科研项目专利信息", "icon": "icon-Award", "url": "Project/ScientificProject/ProjectPatentInfo.htm" },
//                    { "menuid": "15", "menuname": "科研合同信息管理", "icon": "icon-contract", "url": "Project/ScientificProject/ContractsInfo.htm" },
//                    { "menuid": "15", "menuname": "科研项目人员管理", "icon": "icon-contract", "url": "Project/ScientificProject/ProjectEmployeeMappingInfo.htm" }
//                ]
//            },
//            { "menuid": "29", "icon": "icon-sys", "menuname": "支出信息管理",
//                "menus": [{ "menuid": "46", "menuname": "支出信息", "icon": "icon-nav", "url": "Reimbursement/Reimbursement.htm" },
//                    { "menuid": "47", "menuname": "支出项管理", "icon": "icon-nav", "url": "Reimbursement/ReimbursementDictionary.htm" }
//                ]
//            }
//						, { "menuid": "28", "icon": "icon-sys", "menuname": "系统设置",
//						    "menus": [{ "menuid": "41", "menuname": "用户管理", "icon": "icon-nav", "url": "Authority/UsersManage.htm" },
//                                { "menuid": "42", "menuname": "用户授权", "icon": "icon-nav", "url": "Authority/ListUsers.htm" },
//                                { "menuid": "43", "menuname": "权限列表", "icon": "icon-nav", "url": "Authority/AuthorityPage.htm" },
//						        { "menuid": "44", "menuname": "角色管理", "icon": "icon-nav", "url": "Authority/RolesPage.htm" },
//						        { "menuid": "44", "menuname": "角色授权", "icon": "icon-nav", "url": "Authority/RolesAuthorizedPage.aspx" },
//						        { "menuid": "45", "menuname": "模块管理", "icon": "icon-nav", "url": "Authority/ModulesPage.aspx" },
//						        { "menuid": "46", "menuname": "字典维护", "icon": "icon-nav", "url": "Safeguard/DictionaryManagerInfo.htm" }
//						    ]
//						}
//        ]
//        };


        //设置登录窗口
        function openPwd() {
            $('#w').window({
                title: '修改密码',
                width: 300,
                modal: true,
                shadow: true,
                closed: true,
                height: 160,
                resizable: false
            });
        }
        //关闭登录窗口
        function closePwd() {
            $('#w').window('close');
        }



        //修改密码
        function serverLogin() {
            var $newpass = $('#txtNewPass');
            var $rePass = $('#txtRePass');

            if ($newpass.val() == '') {
                msgShow('系统提示', '请输入密码！', 'warning');
                return false;
            }
            if ($rePass.val() == '') {
                msgShow('系统提示', '请在一次输入密码！', 'warning');
                return false;
            }

            if ($newpass.val() != $rePass.val()) {
                msgShow('系统提示', '两次密码不一至！请重新输入', 'warning');
                return false;
            }

            $.post('/ajax/editpassword.ashx?newpass=' + $newpass.val(), function(msg) {
                msgShow('系统提示', '恭喜，密码修改成功！<br>您的新密码为：' + msg, 'info');
                $newpass.val('');
                $rePass.val('');
                close();
            });

        }

        $(function() {

            openPwd();

            $('#editpass').click(function() {
                $('#w').window('open');
            });

            $('#btnEp').click(function() {
                serverLogin();
            });

            $('#btnCancel').click(function() { closePwd(); });

            $('#loginOut').click(function() {
                $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {

                    if (r) {
                        location.href = 'Login.htm';
                    }
                });
            });
        });		

    </script>

</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no">
    <noscript>
        <div style="position: absolute; z-index: 100000; height: 2046px; top: 0px; left: 0px;
            width: 100%; background: white; text-align: center;">
            <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' />
        </div>
    </noscript>
    <div region="north" split="true" border="false" style="overflow: hidden; height: 30px;
        background: url(images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%;
        line-height: 20px; color: #fff; font-family: Verdana, 微软雅黑,黑体">
        <span style="float: right; padding-right: 20px;" class="head">欢迎 系统管理员 <a href="#"
            id="editpass">修改密码</a> <a href="#" id="loginOut">安全退出</a></span> <span style="padding-left: 10px;
                font-size: 16px;">
                <img src="Images/project2.png" width="20" height="20" align="absmiddle" />
                xxxx项目信息管理平台</span>
    </div>
    <div region="south" split="true" style="height: 30px; background: #D2E0F2;">
        <div class="footer">
            xxxx项目信息管理平台</div>
    </div>
    <div region="west" hide="true" split="true" title="导航菜单" style="width: 180px;" id="west">
        <div id="nav" class="easyui-accordion" fit="true" border="false">
            <!--  导航内容 -->
        </div>
    </div>
    <div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden;
        overflow-x: hidden;">
        <div id="tabs" class="easyui-tabs" fit="true" border="false">
            <div title="欢迎使用" style="padding: 20px; overflow: hidden; color: red;">
                <h1 style="font-size: 24px;">
                    欢迎使用xxxx项目信息管理平台</h1>
            </div>
        </div>
    </div>
    <!--修改密码窗口-->
    <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
        maximizable="false" icon="icon-save" style="width: 300px; height: 150px; padding: 5px;
        background: #fafafa;">
        <div class="easyui-layout" fit="true">
            <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
                <table cellpadding="3">
                    <tr>
                        <td>
                            新密码：
                        </td>
                        <td>
                            <input id="txtNewPass" type="Password" class="txt01" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            确认密码：
                        </td>
                        <td>
                            <input id="txtRePass" type="Password" class="txt01" />
                        </td>
                    </tr>
                </table>
            </div>
            <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
                <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)">确定</a>
                <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">
                    取消</a>
            </div>
        </div>
    </div>
    <div id="mm" class="easyui-menu" style="width: 150px; display: none;">
        <div id="mm-tabupdate">
            刷新</div>
        <div class="menu-sep">
        </div>
        <div id="mm-tabclose">
            关闭</div>
        <div id="mm-tabcloseall">
            全部关闭</div>
        <div id="mm-tabcloseother">
            除此之外全部关闭</div>
        <div class="menu-sep">
        </div>
        <div id="mm-tabcloseright">
            当前页右侧全部关闭</div>
        <div id="mm-tabcloseleft">
            当前页左侧全部关闭</div>
        <div class="menu-sep">
        </div>
        <div id="mm-exit">
            退出</div>
    </div>   
</body>
</html>
